<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateEsoInformation extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('eso_information', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->string('eso_information_title',128)->comment('标题');
            $table->string('eso_information_infor',128)->comment('内容');
            $table->integer('eso_information_flag')->default('0')->comment('置顶');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('eso_information');
    }
}
